package com.lktx.sso.admin.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.time.LocalDateTime;

/** 职位管理 - sso_job */
@Data
@Table("sso_job")
public class SsoJob {
    /**编号*/
    @Id(value = "id", keyType = KeyType.Auto)
    private Integer id;
    /**职位名称*/
    private String name;
    /**描述*/
    private String desc;
    /**创建时间*/
    @Column(onUpdateValue = "now()", onInsertValue = "now()")
    private LocalDateTime time;
}